package code.structure.module.scene.view.iso
{
	public class AreaMaskIsoObject extends YIsoObject
	{
		private var _xLength:Number;
		private var _zLength:Number;
		public function AreaMaskIsoObject()
		{
			mouseEnabled = false;
			clickEnabled = false;
			mouseMoveEnabled = false;
			_xLength = 320;
			_zLength = 320;
			gridIndex = 10;
//			layerIndex = 500;
			initView();	
			floorXCount = 8;
			floorZCount = 8;
		}
			
		private function initView():void
		{
					// TODO Auto Generated method stub
			this.graphics.clear();
			this.graphics.lineStyle(1,0,0);
			this.graphics.beginFill(0,0.6);
			this.graphics.moveTo(-_xLength, _zLength * .5);
			this.graphics.lineTo(0, 0);
			this.graphics.lineTo(_xLength, _zLength * .5);
			this.graphics.lineTo(0, _zLength);
			this.graphics.lineTo(-_zLength, _zLength * .5);
			this.graphics.endFill();		
		}		
	}
}